package com.tianma315.core.agent.service;

import com.baomidou.mybatisplus.plugins.Page;
import com.tianma315.core.agent.domain.AgentAddressDO;
import com.tianma315.core.common.base.CoreService;


/**
 * 
 * <pre>
 * 经销商地址
 * </pre>
 * <small> 2019-08-02 11:22:31 | Wen</small>
 */
public interface AgentAddressService extends CoreService<AgentAddressDO> {
    Page<AgentAddressDO> getAgentAddressDOPage(Integer pageNumber, Integer pageSize, AgentAddressDO agentAddressDTO);

    Boolean addAgentAddressDO(AgentAddressDO agentAddressDO);

    Boolean deleteAgentAddressDO(Long id, Integer status);

    Boolean updateStatus(Long id, Long agentId);
}
